/*
   This file is part of the 'Let's Do Stuff Together' project
   http://code.google.com/p/dostufftogether/

   Copyright 2010 Christoph Fuchs, Stefan Thaler

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 */
package org.sti2.letsdostuff.shared;

import activity.Activity;

/**
 * Simple implementation of the shared activity interface. Necessary to deserialize the json response.
 * 
 * @author Christoph 'Gigi' Fuchs
 *
 */
public class ActivityImpl implements Activity {

	private Double altitude;
	private String description;
	private Long endTime;
	private String id;
	private Double latitude;
	private Double longitude;
	private Long startTime;
	private Double z;
	private String title;
	private Double x;
	private Double y;
	
	@Override
	public Double getAltitude() {
		return altitude;
	}

	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Long getEndTime() {
		return endTime;
	}

	@Override
	public String getId() {
		return id;
	}

	@Override
	public Double getLatitude() {
		return latitude;
	}

	@Override
	public Double getLongitude() {
		return longitude;
	}

	@Override
	public Long getStartTime() {
		return startTime;
	}

	@Override
	public String getTitle() {
		return title;
	}

	@Override
	public Double getX() {
		return x;
	}

	@Override
	public Double getY() {
		return y;
	}

	@Override
	public Double getZ() {
		return z;
	}

	@Override
	public void setAltitude(Double altitude) {
		this.altitude = altitude;
	}

	@Override
	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}

	@Override
	public void setId(String activityId) {
		this.id = activityId;
	}

	@Override
	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	@Override
	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	@Override
	public void setStartTime(Long startTime) {
		// TODO Auto-generated method stub

	}

	@Override
	public void setTitle(String activityTitle) {
		this.title = activityTitle;
	}

	@Override
	public void setX(Double c) {
		this.x = c;
	}

	@Override
	public void setY(Double y) {
		this.y = y;
	}

	@Override
	public void setZ(Double z) {
		this.z = z;
	}
	
}
